package com.example.sql_2_code_demo.finitestatemachine;

/**
 * 新创建的订单
 *
 * @author luo
 * @since 2022/10/10 10:02
 */
public class NewCreatedOrder implements OrderStatus {


    @Override
    public OrderStatus pay() {
        return new PaidOrder();
    }

    @Override
    public OrderStatus pay2public() {
        return new PendingReviewOrder();
    }
}
